package com.quectel.core.module.patrol.dto;

import com.quectel.core.module.device.dto.DeviceDto;
import com.quectel.core.module.village.dto.VillageDto;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 视频巡逻路线
 *
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2020-07-07 15:47:42
 */
@Data
public class VideoPatrolRouteDto implements Serializable {

    /**
     *
     */
    private Long id;
    /**
     * 租户id
     */
    private String tenantId;
    /**
     * 所属小区
     */
    @NotNull
    private Long villageId;
    /**
     * 路线名称
     */
    @NotEmpty
    @Length(min = 1, max = 80)
    private String name;
    /**
     * 路线摄像头[A摄像头id,B摄像头id]
     */
    private String routeArr;
    /**
     *
     */
    private String creator;
    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private String editor;
    /**
     *
     */
    private Date editTime;

    private VillageDto villageDto;

    private List<DeviceDto> deviceDtoList;

}
